projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d7dee0
)
Add vcpus_max and vcpus_at_startup values to the example VM creation.
author
Ewan Mellor
<ewan@xensource.com>
Sat, 10 Mar 2007 14:57:11 +0000
(14:57 +0000)
committer
Ewan Mellor
<ewan@xensource.com>
Sat, 10 Mar 2007 14:57:11 +0000
(14:57 +0000)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/libxen/test/test_bindings.c
patch
|
blob
|
history
diff --git
a/tools/libxen/test/test_bindings.c
b/tools/libxen/test/test_bindings.c
index 6a51cd3a058f5b8f569dc602ba8c02b45cd1079e..8e89ee535678653e7889795c7e7a7b18e5e2c6ad 100644
(file)
--- a/
tools/libxen/test/test_bindings.c
+++ b/
tools/libxen/test/test_bindings.c
@@
-375,6
+375,8
@@
static xen_vm create_new_vm(xen_session *session, bool hvm)
.memory_static_min = 128,
.vcpus_policy = "credit",
.vcpus_params = vcpus_params,
+ .vcpus_max = 4,
+ .vcpus_at_startup = 2,
.actions_after_shutdown = XEN_ON_NORMAL_EXIT_DESTROY,
.actions_after_reboot = XEN_ON_NORMAL_EXIT_RESTART,
.actions_after_crash = XEN_ON_CRASH_BEHAVIOUR_PRESERVE,